var DlgChatboxCHAT = _Panel.extend({
	
	generateContents: function()
	{
		return 'New chatwindow ;)'
		
	}, // end function generateContents
	
	update: function()
	{
		this.updateContents(this.generateContents());
		this.updateTitle(chat.getChat().getClsChat().getTitle(this.chatID));
		
	},
	
	initialize: function(main, id)
	{
		this.parent();
		
		this.main = main;
		
		// Set window settings
		this.WindowID = 'Chatbox_Conv_' + id;
		
		this.chatID = id;
		
		this.WindowTitle = chat.getChat().getClsChat().getTitle(id);
		
		this.WindowLoc = ['center', 'center'];
		this.WindowLocFixed = false;
		
		this.WindowSizeFixed = true;
		this.WindowSize = {x: 250, y: 400};
		
		this.WindowCloseByUser = true;
		
		this.WindowOnTop = null;
		
		this.WindowStyle = null;
		
		this.update();
		
	} // end function initialize
	
});

cimport_loaded('panels.Chatbox.Chat');